list search c#

93

find value in object c# -

var item = TextPool.FirstOrDefault(o => o.Name == "test");
if (item != null)
       item.value = "Value";

list search c# -

MyClass result = list.Find(x => x.GetId() == "xy");

Comments

Submit
0 Comments